package com.ktwlrj.securitycenter.controller.args;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 要件详情表(SafeCredentialInfo)Args
 *
 * @author makejava
 * @since 2020-02-24 18:08:13
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode
@ApiModel(value = "要件详情表添加或修改Request", description = "要件详情表添加或修改入参")
public class SafeCredentialInfoArgs implements Serializable {
    private static final long serialVersionUID = 996120121086514885L;

    @ApiModelProperty(name = "credentialInfoId", value = "成像文件id", hidden = true)
    private String credentialInfoId;

    @ApiModelProperty(name = "credentialId", value = "成像表id", hidden = true)
    private String credentialId;

    @ApiModelProperty(name = "page", value = "页")
    private Integer page;

    @ApiModelProperty(name = "fileName", value = "文件名称")
    private String fileName;

    @ApiModelProperty(name = "fileExtension", value = "文件后缀")
    private String fileExtension;

    @ApiModelProperty(name = "fileSize", value = "文件大小")
    private String fileSize;

    @ApiModelProperty(name = "filePath", value = "文件地址")
    @NotEmpty(message = "文件地址不能为空")
    private String filePath;

    @ApiModelProperty(name = "busiId", value = "业务id")
    private String busiId;

    @ApiModelProperty(name = "interOperateType", value = "内网操作类型，0只读、1可删除，默认为1")
    private Integer interOperateType;

    @ApiModelProperty(name = "netOperateType", value = "外网操作类型，0只读、1可删除，默认为1")
    private Integer netOperateType;
}